<?php
defined('IN_ADMIN') or exit('No permission resources.');
include $this->admin_tpl('header','admin');
?>
<script type="text/javascript">
<!--
	$(function(){
	$("#categories_name").formValidator({onshow:"<?php echo '123'?>",onfocus:"<?php echo '请输入分类名称！'?>"}).inputValidator({min:1,onerror:"<?php echo '请输入分类名称！'?>"});	 
	})
//-->
</script>

<div class="pad_10">
<form action="?m=content&c=content&a=<?php echo $ac;?>" method="post" name="myform" id="myform">
<table cellpadding="2" cellspacing="1" class="table_form" width="100%">
	
	<tr>
		<th width="100">名称：</th>
		<td><input type="text" name="categories[name]" id="categories_name"
			size="30" class="input-text" value="<?php echo $infos['name']?>"></td>
	</tr>

	<tr>
		<th width="100">联系电话：</th>
		<td><input type="text" name="categories[phone]" id="categories_phone"
			size="30" class="input-text" value="<?php echo $infos['phone']?>"></td>
	</tr>
	
	<tr>
		<th width="100">地址：</th>
		<td><input type="text" name="categories[address]" id="categories_address"
			size="30" class="input-text" value="<?php echo $infos['address']?>"></td>
	</tr>
</table>
<div class="btn"><input type="hidden" name="sid" value="<?php echo $sid;?>"/><input type="hidden" name="catid" value="<?php echo $catid;?>"/><input type="hidden" name="parentid" value="<?php echo $parentid;?>"/><input type="submit" value="<?php echo L('submit')?> " name="dosubmit" class="button"></div>
</form>
</div>
</body>
</html> 